<%--
  Created by IntelliJ IDEA.
  User: Mr.丁
  Date: 2021/7/6
  Time: 15:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>修改书籍</title>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container">
    <div class="row clearfix">
        <div class="col-md-12 column">
            <div class="page-header">
                <h1>
                    <small>修改书籍</small>
                </h1>
            </div>
        </div>
    </div>
    <%-- 提交到修改方法 进入数据库中 --%>
    <form action="${pageContext.request.contextPath}/book/updatebook" method="get">
        <input type="hidden" name="bookID" value="${books.bookID}">
        <div class="form-group">
            <label for="bkname">书籍名称：</label>
            <input type="text" class="form-control" id="bkname" name="bookName" value="${books.bookName}" required>
        </div>
        <div class="form-group">
            <label for="bknumber">书籍数量：</label>
            <input type="text" class="form-control" id="bknumber" name="bookCounts" value="${books.bookCounts}" required>
        </div>
        <div class="form-group">
            <label for="bdetail">书籍详情：</label>
            <input type="text" class="form-control" id="bdetail" name="detail" value="${books.detail}" required>
        </div>
        <div class="form-group">
            <input type="submit" value="修改" class="form-control">
        </div>
    </form>
</div>
</body>
</html>
